package com.ruoyi.web.controller.example;

import com.ruoyi.common.annotation.Anonymous;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@Anonymous
@Api(tags="Swagger测试")
@RestController
@RequestMapping("/example")
public class FirstController {
    @ApiOperation("hello例子")
    @GetMapping("/first")
    public String helo(){

        return "ok";
    }
}
